home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
TCL1
/
CSCROLLL
/
CSCROLLL.H
< prev
next >
Wrap
Text File
|
1992-02-19
|
1KB
|
42 lines
/*************************************************************************************
CScrollListDragger.h
SUPERCLASS = CMouseTask
by Dave Harkness
*************************************************************************************/
#define _H_CScrollListDragger
#include "CMouseTask.h"
#include "LongCoordinates.h"
class CScrollList;
class CArray;
class CScrollListDragger : public CMouseTask
{
public:
void IScrollListDragger( CScrollList *aTable, short theModifiers, long selFlags);
virtual void Dispose( void);
virtual void BeginTracking( LongPt *startPt);
virtual void KeepTracking( LongPt *currPt, LongPt *prevPt, LongPt *startPt);
virtual void EndTracking( LongPt *currPt, LongPt *prevPt, LongPt *startPt);
protected:
CScrollList *itsTable; // client table
CArray *itsArray; // client array
Cell movingCell; // cell we're moving
LongRect dragRect; // dragging rect
LongRect clipRect; // rectangle to clip to
long selectionFlags; // local copy of table's flags
short modifierKeys; // modifier keys from the mousedown event
};